[SPAM] Re: paragraph spacing in different browsers
by fatgraffix <info(at)fatgraffix.com>
|
Date: |
Tue, 13 Jan 2004 16:00:46 -0800 |
To: |
hwg(at)j-a-b.net, "hwg-techniques(at)hwg.org" <hwg-techniques(at)hwg.org> |
References: |
kontent 2 kontent2 |
|
todo: View
Thread,
Original
|
|
wow - thank you very much. your emails have really helped me alot
today. solved a big problem on a website i'm working on...
-fatgraffix
>On Tue, 13 Jan 2004 13:51:23 -0800, fatgraffix <info(at)fatgraffix.com> wrote:
>
>> got it - but what's ' margin: auto; ' do?
>
>if you do not let the paragraph stretch over the full width of the
>viewport [1] but let it have a width of say, 60%, the margin value
>"auto" makes the user agent calculate the available margin on all
>sides of the element and attributes equal values to opposite sides
>automatically. Thence the name of this value.
>
>In other words: This value centres your paragraph when it has less
>than 100% width.
>
>Cheers,
>
>
>jens
>
>[1] http://www.w3.org/TR/CSS21/visuren.html#q2
>--
>Jens Brueckmann
>http://www.j-a-b.net/
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA